package com.hx.dc.service.impl;

import com.github.pagehelper.PageInfo;
import com.hx.dc.dao.CommoDityMapper;
import com.hx.dc.entity.CommoDity;
import com.hx.dc.service.BaseService;
import com.hx.dc.service.SeeShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Lenovo on 2019/2/15.
 */

@Service("seeshopservice")
public class SeeShopServiceImpl extends BaseServiceImpl<CommoDity> implements SeeShopService {

  @Autowired
  private CommoDityMapper commoDityMapper;

    /*初始*/
    @Override
    public List<CommoDity> SeeShop()
    {
        return commoDityMapper.SeeShop();
    }

     /*删除*/
    @Override
    public int delete(List list) {
    return commoDityMapper.delete( list);
  }

    /*   添加*/
    @Override
    public  int insertt(CommoDity commoDity){
      return  commoDityMapper.insertt(commoDity);
    }

    /* 修改*/
  @Override
   public int amden(CommoDity commoDity) {
    return commoDityMapper.amend(commoDity);
  }



  ;
}
